package com.qidian.mes.pro.mapper;

import com.qidian.mes.pojo.pro.ProProcess;
import com.qidian.mes.util.pojo.MESResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 郭靖旖
 * @Company
 * @Time 2023/10/30 18:51
 * @Description
 **/
@Mapper
public interface ProProcessMapper {
    //分页总查询
    List<ProProcess> selectallByPage();
    //按条件分页查询
    List<ProProcess> list(ProProcess proProcess);
    int save(ProProcess proProcess);
    ProProcess selectByProcessName(ProProcess proProcess);

    int deleteProcess(String processCode);

    ProProcess selectByProcesssCode(String processCode);

    int updateProcess(ProProcess process);

}
